<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>027-css3 div悬停效果</title>
    <link rel="stylesheet" href="style.css"> 
</head>

<body>
    <div class="center">
        <div class="box">
            <h1>Lorem ipsum dolor sit, amet</h1>
            <p>consectetur adipisicing elit. Commodi atque, id repellat facilis cum sed
                cupiditate hic, ea voluptates, quisquam delectus vel. Quae rem laboriosam accusantium veritatis! Ut,
                omnis ad.</p>
        </div>
    </div>
</body>

</html>